home *** CD-ROM | disk | FTP | other *** search
- package java.util;
-
- class IdentityHashMap$KeySet extends AbstractSet<K> {
- // $FF: synthetic field
- final IdentityHashMap this$0;
-
- private IdentityHashMap$KeySet(IdentityHashMap var1) {
- this.this$0 = var1;
- }
-
- public Iterator<K> iterator() {
- return new IdentityHashMap.KeyIterator(this.this$0, (IdentityHashMap.1)null);
- }
-
- public int size() {
- return IdentityHashMap.access$000(this.this$0);
- }
-
- public boolean contains(Object var1) {
- return this.this$0.containsKey(var1);
- }
-
- public boolean remove(Object var1) {
- int var2 = IdentityHashMap.access$000(this.this$0);
- this.this$0.remove(var1);
- return IdentityHashMap.access$000(this.this$0) != var2;
- }
-
- public boolean removeAll(Collection<?> var1) {
- boolean var2 = false;
- Iterator var3 = this.iterator();
-
- while(var3.hasNext()) {
- if (var1.contains(var3.next())) {
- var3.remove();
- var2 = true;
- }
- }
-
- return var2;
- }
-
- public void clear() {
- this.this$0.clear();
- }
-
- public int hashCode() {
- int var1 = 0;
-
- for(Object var3 : this) {
- var1 += System.identityHashCode(var3);
- }
-
- return var1;
- }
-
- // $FF: synthetic method
- IdentityHashMap$KeySet(IdentityHashMap var1, IdentityHashMap.1 var2) {
- this(var1);
- }
- }
-